package com.blackink.service.impl;

import com.blackink.mapper.DeptMapper;
import com.blackink.pojo.Dept;
import com.blackink.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    DeptMapper deptMapper;

    @Override
    public List<Dept> queryDeptList() {
        return deptMapper.queryDeptList();
    }
}
